﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ASP.NETWebFormTutorial
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string googleUrl = "http://chart.apis.google.com/chart?";

            string chartType = "cht=p3";
            string chartSize = "&chs=" + "450x200";
            string chartLabels = "&chl=" + "Rock|Pop|Electronic|Jazz";
            string chartData = "&chd=" + "t:2,4,3,1";
            string chartTitle = "&chtt=" + "TopChannels";
            string chartCo = "&chco=" + "00cc66";
            chartImage.Src = googleUrl + chartType + chartSize + chartData +
                            chartLabels + chartTitle + chartCo;
        }
    }
}